#include "linebase.h"

LineBase::LineBase()
{
    lineI = 50000000;
    lineJ = 50000000;

    yAxis.xLocation = 56;
    yAxis.yLocation = 10;

   // polygon = new QPolygon();



   // Points<<QPointF(0,0)<<QPointF(10,10)<<QPointF(20,20);

    // polygon<< QPointF(0,0)<<QPointF(10,10)<<QPointF(20,20);
}

void LineBase::add(double x, double y)
{
    polygon.append(QPointF(x,y));
}

void LineBase::addReal(double x, double y)
{
    Points.append(QPointF(x,y));
}


